package com.alibaba.Text.p1;

public class Doctor extends Person {

    private String prossional;

    public Doctor() {
    }

    public Doctor(String prossional) {
        this.prossional = prossional;
    }

    /**
     * 获取
     * @return prossional
     */
    public String getProssional() {
        return prossional;
    }

    /**
     * 设置
     * @param prossional
     */
    public void setProssional(String prossional) {
        this.prossional = prossional;
    }

    public String toString() {
        return "Doctor{prossional = " + prossional + "}";
    }
}
